<?php

namespace App\Model;


/**
 * App\DistributorTree
 *
 * @property int $id
 * @property int $parent_id 上级
 * @property int $child_id 下级
 * @property int $generation 节点层级差
 * @property int $profit 为我创收
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 */
class DistributorTree extends Model
{
    //

    public bool $timestamps = true;

    protected ?string $table = 'distributor_trees';

    protected array $fillable = [
        'parent_id','child_id','generation','profit'
    ];
}
